@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800;900&family=Paytone+One&family=Rubik:wght@300;500;700&display=swap');
 :root {
    --gray-light: #1b1d23;
    --gray-dark: #131519;
    --gray-darkest: #0d0f11;
    --brand-coal: #0f0d0e;
    --brand-charcoal: #231f20;
    --brand-charcoal-muted: #1b1918;
    --brand-gray: #262522;
    --brand-yellow: #fcba28;
    --brand-pink: #f38ba3;
    --brand-green: #0ba95b;
    --brand-purple: #7b5ea7;
    --brand-beige: #f9f4da;
    --brand-blue: #12b5e5;
    --brand-orange: #fc7428;
    --brand-red: #ed203d;
    --brand-white: #fff;
    --red: var(--brand-red);
    --white: var(--brand-beige);
    --purple: var(--brand-purple);
    --black: var(--brand-coal);
    --blue: var(--brand-blue);
    --pink: var(--brand-pink);
    --gold: var(--brand-yellow);
    --aqua: var(-- brand-blue);
    --gray: var(--brand-gray);
    --yellow: var(--brand-yellow);
    --green: var(--brand-green);
    --orange: var(--brand-orange);
    --charcoal: var(--brand-charcoal);
    --coal: var(--brand-coal);
}

html {
    font-family: Outfit, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: max-content;
}

body {
    background: var(--brand-coal);
}

nav {
    margin-top: 90px;
    position: fixed;
    width: auto;
    height: 50px;
    z-index: 1;
    background: none;
    border-radius: 15px;
    backdrop-filter: blur(7px);
    align-items: center;
    display: flex;
    justify-content: center;
}

header {
    margin: auto 0;
    display: flex;
    align-items: center;
    width: auto;
    justify-content: center;
    z-index: 20;
}

nav ul {
    padding: 25px;
    text-align: center;
    align-content: center;
}

nav ul li {
    text-align: center;
    display: inline-block;
    padding: 1rem;
    padding-inline-start: 3rem;
    color: white;
    font-size: 20px;
    font-family: "Rubik", sans-serif;
    font-weight: 500;
}

nav ul li a {
    text-decoration: none;
    color: white;
}

nav ul li a:hover {
    border-bottom: 2px solid var(--white);
    transition: all 0.4s ease-in-out;
    transform-origin: 3px;
    padding-bottom: 5px;
    color: var(--white);
}

.about-main {
    margin: 7rem auto;
    width: 1100px;
    height: auto;
    position: relative;
    /* border: 1px solid #f1d8e5; */
    background-image: radial-gradient(#131519 3px, transparent 3px);
    background-size: 26px 26px;
    background-color: #0f0d0e;
}

.about-title {
    font-family: Paytone One, sans-serif;
    color: #f9f4da;
    -webkit-text-stroke: 0.1px rgb(100, 97, 97);
    letter-spacing: 1px;
    font-size: 2.4rem;
    text-align: center;
    background-color: var(--brand-orange);
    border-radius: 1rem;
    height: 130px;
    margin: 1.6rem auto;
}

.para-topic {
    text-align: left;
    font-size: 0.9rem;
    color: #cac9ca;
    text-transform: uppercase;
}

.about-para {
    font-family: Inter, sans-serif;
    color: #f9f4da;
    letter-spacing: 1px;
    font-size: 2.5rem;
    text-align: start;
    margin: 1rem 13rem;
    line-height: 1.5rem;
    border-left: 3px solid #fcba28;
    padding: 1rem;
}


/* Responsive */

@media screen and (max-width:768px) {
    nav {
        margin-top: 90px;
        position: fixed;
    }
    .about-main {
        width: 760px;
        margin: 6rem 0rem 0rem 2rem;
    }
    .about-title {
        height: 150px;
    }
    .about-para {
        margin: 0rem 3rem;
        line-height: 1.5rem;
    }
}


/* smartphones */

@media screen and (max-width:425px) and (max-width: 767px) {
    header {
        margin: 50px;
        max-width: 425px;
        justify-content: center;
    }
    nav {
        margin: 0;
        right: 4rem;
        height: 60px;
        width: max-content;
        position: fixed;
        display: flex;
        justify-content: center;
    }
    nav ul li {
        padding: 1rem;
    }
    nav ul li a {
        font-size: 15px;
    }
    .about-main {
        width: 460px;
        margin: 3rem 0rem -75rem 1rem;
    }
    .about-title {
        font-size: 1.5rem;
        right: -2rem;
        position: relative;
        height: 90px;
    }
    .about-para {
        margin: 0rem 1rem;
        line-height: 1.5rem;
        position: relative;
        right: -3rem;
    }
    .footer {
        margin-top: 5rem;
    }
}


/* Floating */

@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-20px);
    }
    100% {
        transform: translatey(0px);
    }
}


/* scroll bar */

 ::-webkit-scrollbar {
    display: block;
    width: 8px;
    overflow: auto;
    height: 1em;
}

 ::-webkit-scrollbar-thumb {
    background: var(--brand-yellow);
    border-radius: 20px;
    height: 3rem;
}

 ::-webkit-scrollbar-track {
    background-color: var(--brand-coal);
}

 ::-webkit-scrollbar-button {
    display: block;
    background-color: var(--brand-charcoal);
    height: 4px;
}

 ::-webkit-scrollbar-corner {
    background-color: #7f1d1d;
}